import { post, get, put, del } from '@/plugins/request'

//添加提现账户
export const addWithdrawal = (params) => post('/api/my/withdrawal', params)

//修改提现账户
export const editWithdrawal = (params) => put('/api/my/withdrawal', params)

//获取提现账户列表
export const getWithdrawal = (params) => get('/api/my/withdrawal', params)

//删除提现账户
export const delWithdrawal = (params) => del('/api/my/withdrawal', params)

//提现
export const appliWithdrawal = (params) => post('/api/errands_record', params)

//钱包明细
export const walletDetail = (params) => get('/api/errands_wallet_details',params)